﻿@using System.Text
@using OA.Model
@using OA.AspNetCore.Html
@using OA.Core.Model
@using OA.Core.Helper

@model OA.Model.Vote
 
    <div class="layui-form layui-tab-content" id="LAY_ucm" style="padding:0px">
        @using (Html.BeginForm(FormMethod.Post, htmlAttributes: new { @class = "layui-form", id = "myForm" }))
        {
            @Html.AntiForgeryToken()

            <div class="layui-form-item">
                @Html.LabelFor(model => model.Title, new { @class = "layui-form-label" })
                <div class="layui-input-block">
                    @Html.HiddenFor(model => model.ID)
                    @Html.MyEditorFor(model => model.Title)
                </div>
            </div>

            <div class="layui-form-item">
                @Html.LabelFor(model => model.StartTime, new { @class = "layui-form-label" })
                <div class="layui-input-block">
                    @Html.MyEditorFor(model => model.StartTime)
                </div>
            </div>

            <div class="layui-form-item">
                @Html.LabelFor(model => model.EndTime, new { @class = "layui-form-label" })
                <div class="layui-input-block">
                    @Html.MyEditorFor(model => model.EndTime)
                </div>
            </div>

            <div class="layui-form-item">
                @Html.LabelFor(model => model.Description, new { @class = "layui-form-label" })
                <div class="layui-input-block">
                    @Html.MyEditorFor(model => model.Description)
                </div>
            </div>

            <div class="layui-form-item">
                <div class="layui-input-block">
                    <input type="submit" value="提 交" lay-submit="" lay-filter="OAForm" class="layui-btn mySubmit" />
                </div>
            </div>
        }
    </div>
 
